package cn.easybuy.service;

import java.util.List;

import cn.easybuy.entity.User;

public interface UserService {
	//增加新用户
	public int saveUser(User user);
	//查看用户名是否已存在
	public List<User> getUsersByLoginName(String loginName);
	//验证登录是否成功
	public List<User> getUsersForLogin(String loginName,String password);
	
	public int getTotalCount();
	public List<User> getPageUsersList(int pageNo, int pageSize);
}
